This structure is used to hold the information about a license key.

Field Name Field Type Description Interpretation on Output
ownerId JSON string

The ID of a license owner. You can look up the ID in the Key Administrator UI:

Client > the Credentials tab > Internal ID field.

Always not null. Holds the ID of a license key owner.
keyId JSON number Key number without prefix and version.

Always not null.

This field can be used for addressing a license via URL. For example: https://api.central.plesk.com/30/keys/12345678

parentKeyId JSON number Parent key number without prefix and version.

Null if the license key does not have a parent license key.

This field can be used for addressing a license key via URL. For example: https://api.central.plesk.com/30/keys/12345678

isEls JSON boolean Shows if a license key is charged for Extended Lifecycle Support . If a license key is being charged for ELS, then true. If the key is not being charged, then false.
lastReportingOs string The name and version of the operating system on the host on which the key was installed during the last usage report.

This is an informational field. Ignored on input.

Null if no usage report was received from the key.

Example

This response package includes two license keys:

[
    {
        "ownerId"  :  "987654321",
        "keyId"  :  1234567,
        "parentKeyId"  :  null,
        "lastReportingOs" : "Ubuntu 20.04"
    },
    {
        "ownerId"  :  "987654320",
        "keyId"  :  7654321,
        "parentKeyId"  :  1234567
        "isEls"  :  false

    }
]